home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / Paint Shop Pro / PSP900enTR.exe / Data1.cab / _4D25C18BB8D542208F5E05EBF3126DC8 < prev    next >
Encoding:
Text File  |  2004-08-16  |  430 b   |  15 lines

  1. """Backward-compatibility version of TERMIOS; export constants exported by
  2. termios, and issue a deprecation warning.
  3. """
  4.  
  5. import warnings
  6. warnings.warn("the TERMIOS module is deprecated; please use termios",
  7.               DeprecationWarning)
  8.  
  9.  
  10. # Export the constants known to the termios module:
  11. from termios import *
  12.  
  13. # and *only* the constants:
  14. __all__ = [s for s in dir() if s[0] in "ABCDEFGHIJKLMNOPQRSTUVWXYZ"]
  15.